/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

/**
 * 财务管理-对公转账申请审核
 */
import React from 'react';
import { PageContainer } from '@ant-design/pro-layout';
import { Tabs } from 'antd';
import KbNetwork from '@/components/_pages/Finance/approval/network';
import KbOpenPlatform from '@/components/_pages/Finance/approval/openPlatform';
import RedPoint from '@/components/_pages/red-point';

const Index: React.FC = () => {
  return (
    <PageContainer>
      <Tabs
        items={[
          {
            label: <RedPoint type='0'>网点后台</RedPoint>,
            key: 'report',
            children: <KbNetwork />,
          },
          {
            label: <RedPoint type='1'>开放平台</RedPoint>,
            key: 'openPlatform',
            children: <KbOpenPlatform />,
          },
        ]}
      />
    </PageContainer>
  );
};

export default Index;
